<template>
    <xy-page>
        <el-tabs v-model="curDetail">
            <el-tab-pane label="基本信息" name="1"><baseInfo v-if="curDetail == '1'"></baseInfo></el-tab-pane>
            <el-tab-pane label="管理员设置" name="2"><managerSet v-if="curDetail == '2'"></managerSet></el-tab-pane>
            <el-tab-pane label="默认设置" name="3"><defaultSet v-if="curDetail == '3'"></defaultSet></el-tab-pane>
            <el-tab-pane label="开发设置" name="4"><devSet v-if="curDetail == '4'"></devSet></el-tab-pane>
        </el-tabs>
    </xy-page>
</template>
<script>
import baseInfo from './baseInfo.vue'
import managerSet from './managerSet.vue'
import defaultSet from '../../platform/app-manager/defaultSet.vue'
import devSet from '../../platform/app-manager/devSet.vue'
export default {
    components:{
        baseInfo,
        managerSet,
        defaultSet,
        devSet
    },
    data(){
        return {
            curDetail:"1"
        }
    },
    mounted(){
        this.$root.eventHandle.$emit("UPDATE_USERTYPE")
    }
}
</script>
<style lang="scss" scoped>
.detailLis li{
    display:inline-block;
}
</style>
